package com.sword.service.system;

import com.sword.page.PageResult;
import com.sword.page.QueryPageBean;
import com.sword.pojo.finance.Receivables;
import com.sword.pojo.system.Employee;

import java.util.Date;
import java.util.List;

public interface EmployeeService {
//    // 分页查询用户
//    PageResult queryEmployee(QueryPageBean queryPageBean);
//
//    //模糊查询
//    PageResult queryEmployeeLike(QueryPageBean queryPageBean);
//
//    // 添加用户
//    Integer addEmployee(Employee employee);
//
//    // 编辑用户
//    Integer editEmployee(Employee employee);
//
//    // 删除用户
//    Integer deleteEmployee(Integer id);
    //新增用户(返回1新增成功)
    public Integer addEmployee(String deptid,String empolyeeid,String password,
                           String employeename,String duty,String Gender,
                           Date BirthDate,Date HireDate,Date MatureDate,
                           String Phone,String Address,String Email);
    //通过用户id删除用户(返回1删除成功)
    public Integer deleteEmployee(Integer id);
    //批量删除用户(返回1删除成功)
    public Integer deleteEmployees(List<Integer> id);
    //修改用户信息(返回1修改成功)
    public Integer modifyEmployee(Integer id,String deptid,String empolyeeid,String password,
                                  String employeename,String duty,String Gender,
                                  Date BirthDate,Date HireDate,Date MatureDate,
                                  String Phone,String Address,String Email);
    //查询所有
    public List<Employee> queryAll();
    //通过id查询
    public Employee queryEmployeeById(String id);
    //模糊查询
    public List<Employee> queryEmployeeLike(String word);
}
